package com.campus.backend.vo.notice;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 公告VO
 *
 * @author campus
 * @since 2025-01-15
 */
@Data
@ApiModel(value = "公告VO", description = "公告VO")
public class NoticeVo {

    @ApiModelProperty(value = "公告ID")
    private Integer id;

    @ApiModelProperty(value = "公告标题")
    private String title;

    @ApiModelProperty(value = "公告内容")
    private String content;

    @ApiModelProperty(value = "目标类型：0-全部端，1-顾客端，2-商家端，3-配送端")
    private Integer targetType;

    @ApiModelProperty(value = "目标类型名称")
    private String targetTypeName;

    @ApiModelProperty(value = "优先级：0-普通，1-重要，2-紧急")
    private Integer priority;

    @ApiModelProperty(value = "优先级名称")
    private String priorityName;

    @ApiModelProperty(value = "状态：0-禁用，1-启用")
    private Integer status;

    @ApiModelProperty(value = "状态名称")
    private String statusName;

    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "查看次数")
    private Integer viewCount;

    @ApiModelProperty(value = "是否置顶：0-否，1-是")
    private Integer isTop;

    @ApiModelProperty(value = "是否置顶名称")
    private String isTopName;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
}